<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
  <div class="panel panel-default">
    <div class="panel-body">
      <div class="col-sm-12">
        <div class="row mt10">
            <div class="col-sm-2">
                <ui-select ng-model="recommend" theme="bootstrap" >
                    <ui-select-match placeholder="请选择推荐状态">
                        {{$select.selected.name}}
                    </ui-select-match>
                    <ui-select-choices repeat="item.value as item in rsarr | filter: $select.search">
                        <span ng-bind-html="item.name | highlight: $select.search"></span>
                    </ui-select-choices>
                </ui-select>
            </div>
            <div class="col-sm-2">
                <input type="text" class="form-control"  ng-model="project_name" placeholder="项目名称"> 
            </div>
            <div class="col-sm-2 col-sm-offset-6">
                <button class="btn btn-block btn-info" ng-click="search()">查询</button> 
            </div>
        </div>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
                    <th class="text-center" style="width: 35%;vertical-align:middle;">申报单位</th>
                    <th class="text-center" style="width: 10%;vertical-align:middle;">初审单位</th>
                    <th class="text-center" style="width: 15%;vertical-align:middle;">提报时间</th>
                    <th class="text-center" style="width: 10%;vertical-align:middle;">审核状态</th>
                    <th class="text-center" style="width: 10%;vertical-align:middle;">区县状态</th>
                    <th class="text-center" style="width: 20%;text-align:center;vertical-align:middle;">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="info in objs">                 
                    <td  style="width: 35%;vertical-align:middle;"><div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;" title="{{info.project_name}}">{{info.project_name}}</div></td>                          
                    <td  style="width: 10%;vertical-align:middle;"><div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;" title="{{info.company_name}}">{{info.company_name}}</div></td>
                    <td class="text-center"><div class="ellipsis" title="{{info.apply_time}}">{{info.apply_time}}</div></td>
                    <td class="text-center">{{info.project_state_name}}</td> 
                    <td class="text-center">
                      <p ng-if="info.recommend_district =='0'">待初审</p>
                      <p ng-if="info.recommend_district =='1'">已初审</p>
                      <p ng-if="info.recommend_district =='2'">已驳回</p>
                      <p ng-if="info.recommend_district =='3'">已淘汰</p>
                    </td>     
                    <td class="text-center"style="width: 100%;text-align:center;vertical-align:middle;">
                        <a type="button" class="btn btn-info btn-xs" ng-click="toinfo($index)">查验初审</a> 
                    </td>
                </tr>             
            </tbody>
        </table>
        <div class="text-right">
             <pagination 
                total-items="totalItems" 
                ng-model="currentPage" 
                ng-change="pageChanged()"
                previous-text="上一页"
                next-text="下一页"
                first-text="首页"
                last-text="尾页"
                max-size="5"
                boundary-links="true"
                rotate="false"
                items-per-page="itemsPerPage"
                class="m-t-none m-b">
            </pagination>
        </div>
    </div>
  </div>
</div>